<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>作业查重</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
			<script type="text/JavaScript">
					window.onload=show;
			</script>
      <script type="text/javascript" src="__JS__/jQuery/jquery.js"></script>
      <script type="text/javascript" src="__JS__/jshelper.js"></script>
	</head>
	<body>
	<!-- layout::Auth:header::0 -->
    	<div class="container-fluid">
     		<div class="row-fluid">
  			  <!-- layout::Auth:leftmenu::0 -->
              	 <div class="span8">
                    <div class="hero-unit">
                        <h1>作业查重</h1>
                        	  <p style="font-size:12px">当前位置：
									<a href='__APP__/index/index' class="nowpositionhref">主页</a>>
									<a href='__URL__/index' class="nowpositionhref">后台管理</a>>
									<a href='__URL__/classdetail' class="nowpositionhref">教学班管理</a>>
									<a href='__URL__/classfile/id/<?php echo ($classid); ?>' class="nowpositionhref">作业管理</a>>
									<a href="" class="nowpositionhref" >作业查重</a>
                          </p>
                        </div>
                        <form id="form2" name="form2" method="post" action="__URL__/check">
                        <table  class="table table-bordered table-striped" width="100%" style="background-color:#09F">
                     	<thead >
                        	<tr>
                            	<td>
                        <input type="button" onClick="javascript:for(var i=0;i<this.form.length;i++)this.form[i].checked=1;" value='全选' class="btn btn-info">&nbsp;&nbsp;
						<input type="button" onClick="javascript:for(var i=0;i<this.form.length;i++)this.form[i].checked=0;" value='取消全选' class="btn btn-primary">&nbsp;&nbsp;
						<input type="button" onClick="javascript:for(var i=0;i<this.form.length;i++)this.form[i].checked=!this.form[i].checked;" value='反选' class="btn btn-info">  
						<input type="submit" name="Submit" value="查重"  class="btn btn-inverse pull-right" align="right" style="width:80px"> 	
                         </td>
                            </tr>
                        </thead>
                     </table>        
		<table width="100%"  class="table table-bordered table-striped">
				<thead  style="background-color:#09F">
					<tr align="left">
						<th>标题</th>
						<th>学生姓名</th>
						<th>提交时间</th>
					</tr>
				</thead>
				<load href"__PUBLIC__/js/list_show.js">
		
						<tbody id="tab">
							<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><tr id="table_work_show" height="40px">
									<td style="display:none;"><?php echo ($vo["id"]); ?></td>	<!--ID-->
									<input type='hidden' name='classid' value=<?php echo ($classid); ?>>
									<input type='hidden' name='saveid' value=<?php echo ($p); ?>>
									<td style="width:45%"><input type="checkbox" name='url[]' value='<?php echo ($vo["path"]); ?><?php echo ($vo["name"]); ?>'><?php echo ($vo["name"]); ?></td><!--标题-->
									<td style="display:none;"><?php echo ($vo["path"]); ?></td>
									<td style="display:none;"><?php echo ($vo["name"]); ?></td>
									<td style="width:15%"><?php echo ($vo["nname"]); ?></td><!--作者-->
									<td style="width:20%;"><?php echo ($vo["time"]); ?></td><!--发表时间-->	
								</tr><?php endforeach; endif; else: echo "" ;endif; ?>	
						</tbody>	
						
						
					</table></form>
                    <p class="pull-right"><?php echo ($page); ?></p>
				</div>
             </div>
           </div>
           <script src="__JS__/placeholderIEshow.js"></script>
</body>
</html>